package demo3;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.openComupter();

        /// 鼠标
        computer.useUSB(new Mouse());

        /// 键盘
        computer.useUSB(new KeyBoard());

        computer.offComputer();
    }
}
